* {
    margin: 0;
    padding: 0;
}

#user-name {
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 20px;
    padding-right: 20px;
    float: right;
    color: #00b38a;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

#user-name:hover {
    background: rgba(0, 0, 0, .3)
}

#nav {
    height: 100%;
    float: left;
    width: 10%;
}

#nav li {
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
}

#nav li:nth-child(2) {
    color: white;
    background: #00b38a;
}

#nav li:hover {
    color: white;
    background: #00b38a;
}

#content {
    width: 90%;
    float: left;
}

/**
private
 */
table {
    width: 80%;
    margin: 20px auto;
    border-right: 1px #777777 solid;
    border-bottom: 1px #777777 solid;
    border-collapse: collapse;
    table-layout: fixed
}

th {
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    border-left: 1px #777777 solid;
    border-top: 1px #777777 solid;
    overflow: hidden;
}

.user-item th:nth-child(6) {
    color: rebeccapurple;
}

.user-item th:nth-child(6):hover {
    color: white;
    background: rebeccapurple;
}

.user-item th:nth-child(7) {
    color: red;
}

.user-item th:nth-child(7):hover {
    color: white;
    background: red;
}


#footer {
    width: 60%;
    margin: 20px auto;
}

.page-button {
    float: left;
    width: 120px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    text-align: center;
    font-weight: normal;
    margin-left: 10px;
    color: #00b38a;
    border: 1px solid #00b38a;
    border-radius: 4px;
}

.page-button:hover {
    color: white;
    background: #00b38a;
}

.add-button {
    float: right;
    margin-right: 15%;
    width: 120px;
    height: 40px;
    text-decoration: none;
    line-height: 40px;
    text-align: center;
    font-weight: normal;
    margin-left: 10px;
    color: deeppink;
    border: 1px solid deeppink;
    border-radius: 4px;
}

.add-button:hover {
    color: white;
    background: deeppink;
}

.clear_float:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}